<%@ page pageEncoding="UTF-8"%>
<%@ include file="../common/head.jsp"%>
<!DOCTYPE html>
<html class="x-admin-sm">
<head>
<%@ include file="./msg/meta.jsp"%>
</head>
<body>
	<div class="layui-fluid">
		<div class="layui-row layui-col-space15">
			<div class="layui-col-md12">
				<div class="layui-card">
					<div class="layui-card-body ">
						<blockquote class="layui-elem-quote" style="font-size:16px">
							欢迎${SESSION_BEAN.user.role }：
							<span class="x-red">${SESSION_BEAN.user.fname }</span>
							！当前时间:
							<a id="nowDiv"></a>
						</blockquote>
					</div>
				</div>
			</div>
			<div class="layui-col-md12">
				<div class="layui-card"></div>
			</div>
			<div class="layui-col-md12">
				<div class="layui-card">
					<div class="layui-card-header">系统信息</div>
					<div class="layui-card-body ">
						<table class="layui-table">
							<tbody>
								<tr>
									<th width="20%">JDK版本</th>
									<td>1.8</td>
								</tr>
								<tr>
									<th>服务器地址</th>
									<td>127.0.0.1</td>
								</tr>
								<tr>
									<th>操作系统</th>
									<td>WINNT</td>
								</tr>
								<tr>
									<th>运行环境</th>
									<td>Tomcat</td>
								</tr>
								<tr>
									<th>数据库</th>
									<td>Mysql</td>
								</tr>
								</tbody>
						</table>
					</div>
				</div>
			</div>
			<div class="layui-col-md12">
				<div class="layui-card">
					<div class="layui-card-header">开发团队</div>
					<div class="layui-card-body ">
						<table class="layui-table">
							<tbody>
								<tr>
									<th width="20%">版权所有</th>
									<td>${appTitle }</td>
								</tr>
								<tr>
									<th>开发者</th>
									<td>${ctx }/jsp/welcome.jsp</td>
								</tr>
							</tbody>
						</table>
					</div>
				</div>
			</div>
			<style id="welcome_style"></style>
			<div class="layui-col-md12">
				<blockquote class="layui-elem-quote layui-quote-nm">${appTitle } </blockquote>
			</div>
		</div>
	</div>
	</div>
	<script>
		var date = new Date();
		var now = "";
		var nowdiv = document.getElementById("nowDiv");
		function show() {
			date = new Date();
			now = "";
			now = date.getFullYear() + "/";
			now = now + (date.getMonth() + 1) + "/";
			now = now + date.getDate() + " ";
			now = now + (date.getHours() >= 10 ? date.getHours() : ("0" + date.getHours())) + ":";
			now = now + (date.getMinutes() >= 10 ? date.getMinutes() : ("0" + date.getMinutes())) + ":";
			now = now + (date.getSeconds() >= 10 ? date.getSeconds() : ("0" + date.getSeconds())) + " ";
			nowdiv.innerHTML = now;
			setTimeout("show()", 1000);
		}
		show();
	</script>
</body>
</html>